package com.spring.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

import groovy.transform.ToString;
import lombok.Data;

@Component
@Data
@ToString
public class Jdbc {
	@Value("${jdbc.name}")
	private String name;
	@Value("${jdbc.passwd}")
	private String passwd;
	
}
